#pragma once
#include "processer.h"
class FCProcesser :
	public Processer
{
public:
	FCProcesser(int x, int y, int width, int height, char stroke[], int strokeWidth, char fill[]):
		Processer(x, y, width, height, stroke, strokeWidth, fill)
	{
	}

public:
	FCProcesser(void);
	~FCProcesser(void);

	void Fill(MyGraphics* g)
	{
		// To Hinh chu nhat lon
		g->FillRectangle(_fill, _x, _y, _width, _height);
	}

	void Draw(MyGraphics* g)
	{
		Fill(g);
		g->DrawRectangle(_stroke, _strokeWidth, _x, _y, _width, _height);
	}
};

